/********************************************************************
	copyright (c) by TwT
    @created:	11/29/2011   22:34
    @filename: 	render_data
    @author:	Gu Yanbo (gybgdhb@gmail.com)
    @brief:	    
*********************************************************************/
#ifndef TIMESLOT
#define TIMESLOT 30
#endif
#ifndef RENDER_DATA_RENDER_DATA_H_
#define RENDER_DATA_RENDER_DATA_H_
#include "Vector4.h"
#include <d3dx9.h>
#include "GutTimer.h"
typedef struct Vertex_VT{
	 int m_Position[3];
	 int m_Texcoord[2];
	Vertex_VT( int, int, int, int, int);
	Vertex_VT();
}Vertex_VT;
extern POINT mouse_state;

__inline int sqr( int a){return a*a;}


class Resource{
public:
	Resource();
	LPDIRECT3DTEXTURE9 m_Character,m_Item,m_Cloud,m_Background;
	static Resource& instance();

};

extern GutTimer g_Timer;
#endif //RENDER_DATA_RENDER_DATA_H_

//
//History:
//[11/29/2011] <gybgdhb@gmail.com> created